import { axios } from '@/utils/request'

/**
 * 查询发布管理
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManagePage (parameter) {
  return axios({
    url: '/pushManage/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 发布管理列表
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManageList (parameter) {
  return axios({
    url: '/pushManage/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加发布管理
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManageAdd (parameter) {
  return axios({
    url: '/pushManage/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑发布管理
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManageEdit (parameter) {
  return axios({
    url: '/pushManage/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除发布管理
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManageDelete (parameter) {
  return axios({
    url: '/pushManage/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出发布管理
 *
 * @author fenmou
 * @date 2024-10-27 18:15:17
 */
export function pushManageExport (parameter) {
  return axios({
    url: '/pushManage/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
